package io.xxx.xbutler.core.callback;

import com.alibaba.fastjson2.JSONObject;
import io.xxx.xbutler.domain.task.ReceiverType;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * 机器人私聊信息回调
 * <p>
 * 当机器人好友私发消息给机器人时，通过该接口将私聊消息发送给商家，
 * 图片文件只会回调缩略图，原图片、视频、语音需要通过调用（机器人功能接口>机器人下载消息文件接口）进行下载，下载后会回调（5005）对应的文件给商家。
 * 当语音长度较短时，在消息回调中vcContent直接带了语音链接，无需再通过请求下载文件接口再进行下载，同时vcDownFileSerialNo也为空值；
 *
 * <pre>
 * {
 *     "vcMerchantNo": "202407150008480",
 *     "vcRobotWxId": "wxid_mi88feubut7822",
 *     "vcRobotSerialNo": "B9242BBFE29699C36B54435F5F407F2F",
 *     "vcSerialNo": "20250119150446308263013797521",
 *     "nType": 5001,
 *     "nResult": 1,
 *     "vcResult": "SUCCESS",
 *     "nTimeStamp": 1737270286310,
 *     "Data": {
 *         "vcMsgSerialNo": "20250119150446308263013797521",
 *         "vcMsgId": "6069005417950909466",
 *         "vcFromWxUserSerialNo": "C196266F837D14E0B693F961BEE37B66",
 *         "vcFromWxUserWxId": "weixin",
 *         "vcToWxUserSerialNo": "B9242BBFE29699C36B54435F5F407F2F",
 *         "vcToWxUserWxId": "wxid_mi88feubut7822",
 *         "nMsgType": 1000,
 *         "vcContent": "<sysmsg type=\"gamecenter\"><gamecenter msgtype=\"100\" newmsgtype=\"100\"><msg_id>unifiedpush_content_120186_138913</msg_id><appid>wxd0ba2ae8ccfcda5e</appid><push_id>unifiedpush_task_120186</push_id><weight>7</weight><time_info><create_time>1737265708</create_time><expire_time>259200</expire_time></time_info><entrance><entrance_red_dot_type>4</entrance_red_dot_type><entrance_icon_url>https://mmgame.qpic.cn/image/9a10a2d77e78b8cd5f88b8c473a9a6e299193187a005b274c24b887ca0e0b3e1/h64</entrance_icon_url><entrance_text>不同角色耍大剑效果</entrance_text><entrance_icon_rounded_corner>1</entrance_icon_rounded_corner><entrance_show_control><basic_type>10000</basic_type><ignore_local_control>0</ignore_local_control><reappearable>0</reappearable></entrance_show_control></entrance><tab_info><default_key if_has_native_banner=\"\">home</default_key><red_dot><key></key></red_dot></tab_info><extra_data><preload><![CDATA[{&quot;wonderful_video_feed&quot;:{&quot;type&quot;:1,&quot;content&quot;:&quot;不同角色耍大剑#原神猛犸团#原神纳塔#原神#玛薇卡#烈阳的碰撞#原神玛薇卡、茜特菈莉上线&quot;,&quot;enable_external_link&quot;:false,&quot;view_count&quot;:701,&quot;duration&quot;:18,&quot;pic_url_list&quot;:[&quot;https://mmgamevideores.qpic.cn/image/wxgv290f0db4db5243daa4f53ba08b74b84f.f103100.jpg&quot;],&quot;lazy_pic_url_list&quot;:[],&quot;image_list&quot;:[],&quot;ext_image_list&quot;:[],&quot;is_thumbnail&quot;:false,&quot;create_time&quot;:1736769035,&quot;id&quot;:876725157,&quot;feed_id&quot;:&quot;876725157&quot;,&quot;content_id&quot;:&quot;2FyCb9WQRmJ6_nEasYx4tA&quot;,&quot;extern_info&quot;:&quot;{\\&quot;ExpID\\&quot;:0,\\&quot;ReasonID\\&quot;:23,\\&quot;account_info\\&quot;:[3,0],\\&quot;content_source_type\\&quot;:27,\\&quot;labelid_rela\\&quot;:0,\\&quot;ContentType\\&quot;:22,\\&quot;distype\\&quot;:[],\\&quot;GiftType\\&quot;:1,\\&quot;video_height\\&quot;:720,\\&quot;video_width\\&quot;:1280,\\&quot;recom_info_map\\&quot;:{\\&quot;openid\\&quot;:\\&quot;g1NlbyvGRSH59pgy5K8kSpfBWchM\\&quot;},\\&quot;openid_list\\&quot;:[],\\&quot;VideoTime\\&quot;:18.0,\\&quot;realtime_vv\\&quot;:701,\\&quot;task_name\\&quot;:\\&quot;red_dot_topic\\&quot;,\\&quot;tab_name\\&quot;:2}&quot;,&quot;action_info&quot;:{&quot;type&quot;:1,&quot;jump_url&quot;:&quot;https://game.weixin.qq.com/cgi-bin/h5/static/circle/detail.html?tid=2FyCb9WQRmJ6_nEasYx4tA&amp;liteapp=liteapp%3A%2F%2Fwxalite842f9e8076010458697522e7db33761b%3Fpath%3Dpages%252Fdetail%252Findex&amp;wechat_pkgid=circle_detail&quot;,&quot;video_url&quot;:&quot;https://game.weixin.qq.com/cgi-bin/gameobjectstoragewap/getvideourl?vid=wxgv290f0db4db5243daa4f53ba08b74b84f&amp;redirect=1&quot;},&quot;user_info&quot;:{&quot;nick_name&quot;:&quot;纳塔调查员(原神)&quot;,&quot;head_img_url&quot;:&quot;https://mmgame.qpic.cn/image/653507b985c32376b0ada8fab209ab386442e91f58f8efdbb3c16f175c3374ed/132&quot;,&quot;profile_url&quot;:&quot;https://game.weixin.qq.com/cgi-bin/h5/lite/pureprofile/index.html?t=g1NlbyvGRSH59pgy5K8kSpfBWchM&amp;tab_type=0&amp;liteapp=liteapp%3A%2F%2Fwxalite542c802d5633c78e0ae84046274e30cf%3Fpath%3Dpages%252Findex%252Findex%26force_open_liteapp%3D1&amp;wechat_pkgid=lite_pureprofile&quot;,&quot;openid&quot;:&quot;g1NlbyvGRSH59pgy5K8kSpfBWchM&quot;,&quot;user_custom_info&quot;:{&quot;auth_type&quot;:6,&quot;auth_desc&quot;:&quot;创作者&quot;,&quot;auth_icon_type&quot;:3,&quot;update_time_rule_type&quot;:0,&quot;icon_url&quot;:&quot;https://mmgame.qpic.cn/image/5a08d3148d598a209c3a1065a55f41ad06a47c58090ad01c7b3cca016d5966e3/0&quot;,&quot;desc&quot;:&quot;创作者&quot;},&quot;user_relation_info&quot;:{&quot;group_relation_type&quot;:0},&quot;user_name&quot;:&quot;U1_BgAAr-e8kQCg@gamelife&quot;,&quot;complain_url&quot;:&quot;https://weixin110.qq.com/security/readtemplate?t=weixin_report/w_type&amp;scene=60&amp;beexposechatname=eyJ1c2VyX25hbWUiOiJVMV9CZ0FBci1lOGtRQ2dAZ2FtZWxpZmUiLCJ1c2VyX3R5cGUiOjAsImJpel9pZCI6MTAwMDA2LCJvYmplY3RfdHlwZSI6MSwib2JqZWN0X2lkZW50IjoiODc2NzI1MTU3In0%3D&quot;,&quot;negative_type&quot;:2,&quot;tag_list&quot;:[],&quot;sex&quot;:0,&quot;is_friend&quot;:false,&quot;is_authorized&quot;:true},&quot;source_info&quot;:{&quot;group_info&quot;:{&quot;appid&quot;:&quot;wxd0ba2ae8ccfcda5e&quot;,&quot;group_name&quot;:&quot;原神&quot;,&quot;desc&quot;:&quot;原神&quot;,&quot;button_desc&quot;:&quot;加入圈子&quot;,&quot;is_join&quot;:true,&quot;background_pic_url&quot;:&quot;https://mmgame.qpic.cn/image/c539ec582075b97b0e20b5a4dac4c5f28ffbaac7e64ac23efb37e49efea640a7/0&quot;,&quot;jump_url&quot;:&quot;https://game.weixin.qq.com/cgi-bin/h5/lite/circlecenter/index.html?wechat_pkgid=lite_circlecenter&amp;liteapp=liteapp%3A%2F%2Fwxalited17d79803d8c228a7eac78129f40484c%3Fpath%3Dpages%252Findex%252Findex&amp;appid=wxd0ba2ae8ccfcda5e&quot;,&quot;icon_url&quot;:&quot;https://mmgame.qpic.cn/image/9a10a2d77e78b8cd5f88b8c473a9a6e299193187a005b274c24b887ca0e0b3e1/108&quot;,&quot;group_not_open&quot;:false,&quot;apptype&quot;:4,&quot;close_topic_recommend&quot;:false,&quot;not_played&quot;:false,&quot;group_out_id&quot;:&quot;wxd0ba2ae8ccfcda5e&quot;,&quot;topic_nums&quot;:1990096,&quot;fans_num&quot;:5504843,&quot;fans_desc&quot;:&quot;旅行者&quot;},&quot;source_type&quot;:27,&quot;is_topic&quot;:true},&quot;cluster_info&quot;:{&quot;cluster_id&quot;:32837,&quot;cluster_name&quot;:&quot;活动：原神玛薇卡、茜特菈莉上线&quot;,&quot;jump_url&quot;:&quot;https://game.weixin.qq.com/cgi-bin/h5/lite/clustertopic/index.html?clusterid=32837&amp;cluster_content_id=q2TPvhE3i0OjFAuIeN4MOw&amp;wechat_pkgid=lite_clustertopic&amp;liteapp=liteapp%3A%2F%2Fwxalite1721739582997924fe6b71a403c338c6%3Fpath%3Dpages%252Findex%252Findex&quot;,&quot;is_new_activity&quot;:true,&quot;is_hot_spot&quot;:false},&quot;cluster_info_list&quot;:[{&quot;cluster_id&quot;:32837,&quot;cluster_name&quot;:&quot;活动：原神玛薇卡、茜特菈莉上线&quot;,&quot;jump_url&quot;:&quot;https://game.weixin.qq.com/cgi-bin/h5/lite/clustertopic/index.html?clusterid=32837&amp;cluster_content_id=q2TPvhE3i0OjFAuIeN4MOw&amp;wechat_pkgid=lite_clustertopic&amp;liteapp=liteapp%3A%2F%2Fwxalite1721739582997924fe6b71a403c338c6%3Fpath%3Dpages%252Findex%252Findex&quot;,&quot;is_new_activity&quot;:true,&quot;is_hot_spot&quot;:false}],&quot;video_info&quot;:{&quot;duration&quot;:18,&quot;height&quot;:720,&quot;jump_url&quot;:&quot;https://game.weixin.qq.com/cgi-bin/h5/static/circle/immerse.html?content_id=2FyCb9WQRmJ6_nEasYx4tA&amp;liteapp=liteapp%3A%2F%2Fwxalite842f9e8076010458697522e7db33761b%3Fpath%3Dpages%252Fimmerse%252Findex&amp;wechat_pkgid=circle_detail&quot;,&quot;snapshot&quot;:&quot;https://mmgamevideores.qpic.cn/image/wxgv290f0db4db5243daa4f53ba08b74b84f.f103100.jpg&quot;,&quot;url&quot;:&quot;https://mmgamevideo.qpic.cn/video/wxgv290f0db4db5243daa4f53ba08b74b84f.f103000.mp4?dis_k=9f163046cfd452ecc18522391027160c&amp;dis_t=1737086896&amp;__mmgcrid=wxgv290f0db4db5243daa4f53ba08b74b84f&quot;,&quot;vid&quot;:&quot;19099531227&quot;,&quot;view_count&quot;:701,&quot;width&quot;:1280,&quot;is_transcode&quot;:true,&quot;not_auto_play&quot;:false,&quot;hevc_url&quot;:&quot;https://mmgamevideo.qpic.cn/video/wxgv290f0db4db5243daa4f53ba08b74b84f.f103100.mp4?dis_k=ae50ecd4c28529a4eb80892c5789f9b5&amp;dis_t=1737086896&amp;__mmgcrid=wxgv290f0db4db5243daa4f53ba08b74b84f&quot;,&quot;codec_tag&quot;:1},&quot;content_tag_on_screen_list&quot;:[],&quot;is_red_dot&quot;:true,&quot;wonderful_video&quot;:{&quot;video_album_item&quot;:{&quot;tag_list&quot;:[],&quot;wxfriends_team_mate_list&quot;:[],&quot;mix_tag_info&quot;:{&quot;wonderful_tag_list&quot;:[],&quot;new_tag_list&quot;:[],&quot;battle_tag_list&quot;:[],&quot;video_tag_list&quot;:[]},&quot;feed_tag_list&quot;:[],&quot;team_mate_list&quot;:[],&quot;opponent_list&quot;:[],&quot;cluster_index_list&quot;:[]},&quot;relation_type&quot;:0},&quot;need_top&quot;:true,&quot;video_list&quot;:[],&quot;appid&quot;:&quot;wxd0ba2ae8ccfcda5e&quot;,&quot;can_share_to_chatroom&quot;:false,&quot;msg_pack_extend_list&quot;:[],&quot;topic_feed_list&quot;:[],&quot;feature_str&quot;:&quot;ii-O9VwSjbkaYdSA4yT2DQ&quot;,&quot;topic_extra_info&quot;:{&quot;custom_flag&quot;:0},&quot;service_entrance_list&quot;:[],&quot;user_list&quot;:[],&quot;group_out_id&quot;:&quot;wxd0ba2ae8ccfcda5e&quot;,&quot;not_can_recom_group&quot;:false,&quot;cover_pic_list&quot;:[],&quot;content_entrance_list&quot;:[]},&quot;type&quot;:7}]]></preload></extra_data><report><msg_subtype>116</msg_subtype><noticeid>144671164</noticeid><ext_data>{&quot;biz_subtype&quot;:2,&quot;content_id&quot;:&quot;876725157&quot;,&quot;friend_uin&quot;:0,&quot;interactive&quot;:8005,&quot;send_time&quot;:1737270285,&quot;stage&quot;:0,&quot;text&quot;:&quot;不同角色耍大剑效果&quot;}</ext_data><business_data>{&quot;biz_type&quot;:7,&quot;data&quot;:&quot;{\\&quot;notice_id\\&quot;:\\&quot;96198660\\&quot;,\\&quot;topic_id\\&quot;:876725157,\\&quot;tab_id\\&quot;:3,\\&quot;secondary_id\\&quot;:407,\\&quot;sub_tab_id\\&quot;:0}&quot;,&quot;sys_report&quot;:{&quot;msg_type&quot;:116,&quot;interactive&quot;:8005,&quot;biz_subtype&quot;:2}}</business_data></report><jump_info></jump_info><exposure_strategy><history_message_list><msg_id>mmgamemessagedistribution_recall_wx95a3a4d7c627e07d_856044691_1737171235</msg_id><click_score>1.965397</click_score></history_message_list><history_message_list><msg_id>mmgamemessagedistribution_recall_wxa27ca98aa5ed1a87_875598205_1737171235</msg_id><click_score>1.788178</click_score></history_message_list><history_message_list><msg_id>unifiedpush_content_119945_138674</msg_id><click_score>1.322948</click_score></history_message_list><history_message_list><msg_id>unifiedpush_content_127325_1734883199.6_144638011_9007199254868317</msg_id><click_score>1.063285</click_score></history_message_list><history_message_list><msg_id>unifiedpush_content_137980_1736697599.100108_144669230_9007199254878972</msg_id><click_score>0.000000</click_score></history_message_list><history_message_list><msg_id>unifiedpush_content_127410_1734883199.6_144638284_9007199254868402</msg_id><click_score>0.932755</click_score></history_message_list><expire_time_strategy><enabled></enabled></expire_time_strategy><battery_strategy><enabled></enabled></battery_strategy><wifi_strategy><enabled></enabled></wifi_strategy><exposure_count>12</exposure_count><channel>2</channel><click_score>0.487533</click_score><ignore_exceed_exposure>1</ignore_exceed_exposure></exposure_strategy></gamecenter><control_command><message_setting><hide_conf start_time=\"\" end_time=\"\" msg_type=\"\"></hide_conf><del_conf><msg_id>unifiedpush_content_137980_1736697599.100108_144669230_9007199254878972</msg_id><push_revert_id></push_revert_id></del_conf></message_setting></control_command></sysmsg>",
 *         "nVoiceTime": 0,
 *         "vcShareTitle": "",
 *         "vcShareDesc": "",
 *         "vcShareUrl": "",
 *         "dtMsgTime": "2025-01-19 15:04:45.000",
 *         "nPlatformMsgType": 10,
 *         "vcRelaSerialNo": "",
 *         "nMsgNum": -1,
 *         "vcDownFileSerialNo": "",
 *         "nFileSize": 0.0,
 *         "vcObjectData": {
 *             "nObjectId": "",
 *             "vcObjectNonceId": ""
 *         },
 *         "vcQuoteMsgId": "",
 *         "vcCardId": "",
 *         "nSortId": 1737270286184,
 *         "vcContentXml": null,
 *         "fileList": [],
 *         "nEmojiLen": 0,
 *         "vcEmojiMd5": "",
 *         "vcMd5": "",
 *         "IsMasterImg": true,
 *         "collection_serial_no": "",
 *         "thumbnail_url": "",
 *         "reference_message_body": "{\"fromUser\":\"weixin\",\"atList\":\"<msgsource>\\n\\t<tmp_node>\\n\\t\\t<publisher-id></publisher-id>\\n\\t</tmp_node>\\n</msgsource>\\n\",\"toUser\":\"wxid_mi88feubut7822\",\"msgContent\":\"<sysmsg type=\\\"gamecenter\\\"><gamecenter msgtype=\\\"100\\\" newmsgtype=\\\"100\\\"><msg_id>unifiedpush_content_120186_138913</msg_id><appid>wxd0ba2ae8ccfcda5e</appid><push_id>unifiedpush_task_120186</push_id><weight>7</weight><time_info><create_time>1737265708</create_time><expire_time>259200</expire_time></time_info><entrance><entrance_red_dot_type>4</entrance_red_dot_type><entrance_icon_url>https://mmgame.qpic.cn/image/9a10a2d77e78b8cd5f88b8c473a9a6e299193187a005b274c24b887ca0e0b3e1/h64</entrance_icon_url><entrance_text>不同角色耍大剑效果</entrance_text><entrance_icon_rounded_corner>1</entrance_icon_rounded_corner><entrance_show_control><basic_type>10000</basic_type><ignore_local_control>0</ignore_local_control><reappearable>0</reappearable></entrance_show_control></entrance><tab_info><default_key if_has_native_banner=\\\"\\\">home</default_key><red_dot><key></key></red_dot></tab_info><extra_data><preload><![CDATA[{&quot;wonderful_video_feed&quot;:{&quot;type&quot;:1,&quot;content&quot;:&quot;不同角色耍大剑#原神猛犸团#原神纳塔#原神#玛薇卡#烈阳的碰撞#原神玛薇卡、茜特菈莉上线&quot;,&quot;enable_external_link&quot;:false,&quot;view_count&quot;:701,&quot;duration&quot;:18,&quot;pic_url_list&quot;:[&quot;https://mmgamevideores.qpic.cn/image/wxgv290f0db4db5243daa4f53ba08b74b84f.f103100.jpg&quot;],&quot;lazy_pic_url_list&quot;:[],&quot;image_list&quot;:[],&quot;ext_image_list&quot;:[],&quot;is_thumbnail&quot;:false,&quot;create_time&quot;:1736769035,&quot;id&quot;:876725157,&quot;feed_id&quot;:&quot;876725157&quot;,&quot;content_id&quot;:&quot;2FyCb9WQRmJ6_nEasYx4tA&quot;,&quot;extern_info&quot;:&quot;{\\\\&quot;ExpID\\\\&quot;:0,\\\\&quot;ReasonID\\\\&quot;:23,\\\\&quot;account_info\\\\&quot;:[3,0],\\\\&quot;content_source_type\\\\&quot;:27,\\\\&quot;labelid_rela\\\\&quot;:0,\\\\&quot;ContentType\\\\&quot;:22,\\\\&quot;distype\\\\&quot;:[],\\\\&quot;GiftType\\\\&quot;:1,\\\\&quot;video_height\\\\&quot;:720,\\\\&quot;video_width\\\\&quot;:1280,\\\\&quot;recom_info_map\\\\&quot;:{\\\\&quot;openid\\\\&quot;:\\\\&quot;g1NlbyvGRSH59pgy5K8kSpfBWchM\\\\&quot;},\\\\&quot;openid_list\\\\&quot;:[],\\\\&quot;VideoTime\\\\&quot;:18.0,\\\\&quot;realtime_vv\\\\&quot;:701,\\\\&quot;task_name\\\\&quot;:\\\\&quot;red_dot_topic\\\\&quot;,\\\\&quot;tab_name\\\\&quot;:2}&quot;,&quot;action_info&quot;:{&quot;type&quot;:1,&quot;jump_url&quot;:&quot;https://game.weixin.qq.com/cgi-bin/h5/static/circle/detail.html?tid=2FyCb9WQRmJ6_nEasYx4tA&amp;liteapp=liteapp%3A%2F%2Fwxalite842f9e8076010458697522e7db33761b%3Fpath%3Dpages%252Fdetail%252Findex&amp;wechat_pkgid=circle_detail&quot;,&quot;video_url&quot;:&quot;https://game.weixin.qq.com/cgi-bin/gameobjectstoragewap/getvideourl?vid=wxgv290f0db4db5243daa4f53ba08b74b84f&amp;redirect=1&quot;},&quot;user_info&quot;:{&quot;nick_name&quot;:&quot;纳塔调查员(原神)&quot;,&quot;head_img_url&quot;:&quot;https://mmgame.qpic.cn/image/653507b985c32376b0ada8fab209ab386442e91f58f8efdbb3c16f175c3374ed/132&quot;,&quot;profile_url&quot;:&quot;https://game.weixin.qq.com/cgi-bin/h5/lite/pureprofile/index.html?t=g1NlbyvGRSH59pgy5K8kSpfBWchM&amp;tab_type=0&amp;liteapp=liteapp%3A%2F%2Fwxalite542c802d5633c78e0ae84046274e30cf%3Fpath%3Dpages%252Findex%252Findex%26force_open_liteapp%3D1&amp;wechat_pkgid=lite_pureprofile&quot;,&quot;openid&quot;:&quot;g1NlbyvGRSH59pgy5K8kSpfBWchM&quot;,&quot;user_custom_info&quot;:{&quot;auth_type&quot;:6,&quot;auth_desc&quot;:&quot;创作者&quot;,&quot;auth_icon_type&quot;:3,&quot;update_time_rule_type&quot;:0,&quot;icon_url&quot;:&quot;https://mmgame.qpic.cn/image/5a08d3148d598a209c3a1065a55f41ad06a47c58090ad01c7b3cca016d5966e3/0&quot;,&quot;desc&quot;:&quot;创作者&quot;},&quot;user_relation_info&quot;:{&quot;group_relation_type&quot;:0},&quot;user_name&quot;:&quot;U1_BgAAr-e8kQCg@gamelife&quot;,&quot;complain_url&quot;:&quot;https://weixin110.qq.com/security/readtemplate?t=weixin_report/w_type&amp;scene=60&amp;beexposechatname=eyJ1c2VyX25hbWUiOiJVMV9CZ0FBci1lOGtRQ2dAZ2FtZWxpZmUiLCJ1c2VyX3R5cGUiOjAsImJpel9pZCI6MTAwMDA2LCJvYmplY3RfdHlwZSI6MSwib2JqZWN0X2lkZW50IjoiODc2NzI1MTU3In0%3D&quot;,&quot;negative_type&quot;:2,&quot;tag_list&quot;:[],&quot;sex&quot;:0,&quot;is_friend&quot;:false,&quot;is_authorized&quot;:true},&quot;source_info&quot;:{&quot;group_info&quot;:{&quot;appid&quot;:&quot;wxd0ba2ae8ccfcda5e&quot;,&quot;group_name&quot;:&quot;原神&quot;,&quot;desc&quot;:&quot;原神&quot;,&quot;button_desc&quot;:&quot;加入圈子&quot;,&quot;is_join&quot;:true,&quot;background_pic_url&quot;:&quot;https://mmgame.qpic.cn/image/c539ec582075b97b0e20b5a4dac4c5f28ffbaac7e64ac23efb37e49efea640a7/0&quot;,&quot;jump_url&quot;:&quot;https://game.weixin.qq.com/cgi-bin/h5/lite/circlecenter/index.html?wechat_pkgid=lite_circlecenter&amp;liteapp=liteapp%3A%2F%2Fwxalited17d79803d8c228a7eac78129f40484c%3Fpath%3Dpages%252Findex%252Findex&amp;appid=wxd0ba2ae8ccfcda5e&quot;,&quot;icon_url&quot;:&quot;https://mmgame.qpic.cn/image/9a10a2d77e78b8cd5f88b8c473a9a6e299193187a005b274c24b887ca0e0b3e1/108&quot;,&quot;group_not_open&quot;:false,&quot;apptype&quot;:4,&quot;close_topic_recommend&quot;:false,&quot;not_played&quot;:false,&quot;group_out_id&quot;:&quot;wxd0ba2ae8ccfcda5e&quot;,&quot;topic_nums&quot;:1990096,&quot;fans_num&quot;:5504843,&quot;fans_desc&quot;:&quot;旅行者&quot;},&quot;source_type&quot;:27,&quot;is_topic&quot;:true},&quot;cluster_info&quot;:{&quot;cluster_id&quot;:32837,&quot;cluster_name&quot;:&quot;活动：原神玛薇卡、茜特菈莉上线&quot;,&quot;jump_url&quot;:&quot;https://game.weixin.qq.com/cgi-bin/h5/lite/clustertopic/index.html?clusterid=32837&amp;cluster_content_id=q2TPvhE3i0OjFAuIeN4MOw&amp;wechat_pkgid=lite_clustertopic&amp;liteapp=liteapp%3A%2F%2Fwxalite1721739582997924fe6b71a403c338c6%3Fpath%3Dpages%252Findex%252Findex&quot;,&quot;is_new_activity&quot;:true,&quot;is_hot_spot&quot;:false},&quot;cluster_info_list&quot;:[{&quot;cluster_id&quot;:32837,&quot;cluster_name&quot;:&quot;活动：原神玛薇卡、茜特菈莉上线&quot;,&quot;jump_url&quot;:&quot;https://game.weixin.qq.com/cgi-bin/h5/lite/clustertopic/index.html?clusterid=32837&amp;cluster_content_id=q2TPvhE3i0OjFAuIeN4MOw&amp;wechat_pkgid=lite_clustertopic&amp;liteapp=liteapp%3A%2F%2Fwxalite1721739582997924fe6b71a403c338c6%3Fpath%3Dpages%252Findex%252Findex&quot;,&quot;is_new_activity&quot;:true,&quot;is_hot_spot&quot;:false}],&quot;video_info&quot;:{&quot;duration&quot;:18,&quot;height&quot;:720,&quot;jump_url&quot;:&quot;https://game.weixin.qq.com/cgi-bin/h5/static/circle/immerse.html?content_id=2FyCb9WQRmJ6_nEasYx4tA&amp;liteapp=liteapp%3A%2F%2Fwxalite842f9e8076010458697522e7db33761b%3Fpath%3Dpages%252Fimmerse%252Findex&amp;wechat_pkgid=circle_detail&quot;,&quot;snapshot&quot;:&quot;https://mmgamevideores.qpic.cn/image/wxgv290f0db4db5243daa4f53ba08b74b84f.f103100.jpg&quot;,&quot;url&quot;:&quot;https://mmgamevideo.qpic.cn/video/wxgv290f0db4db5243daa4f53ba08b74b84f.f103000.mp4?dis_k=9f163046cfd452ecc18522391027160c&amp;dis_t=1737086896&amp;__mmgcrid=wxgv290f0db4db5243daa4f53ba08b74b84f&quot;,&quot;vid&quot;:&quot;19099531227&quot;,&quot;view_count&quot;:701,&quot;width&quot;:1280,&quot;is_transcode&quot;:true,&quot;not_auto_play&quot;:false,&quot;hevc_url&quot;:&quot;https://mmgamevideo.qpic.cn/video/wxgv290f0db4db5243daa4f53ba08b74b84f.f103100.mp4?dis_k=ae50ecd4c28529a4eb80892c5789f9b5&amp;dis_t=1737086896&amp;__mmgcrid=wxgv290f0db4db5243daa4f53ba08b74b84f&quot;,&quot;codec_tag&quot;:1},&quot;content_tag_on_screen_list&quot;:[],&quot;is_red_dot&quot;:true,&quot;wonderful_video&quot;:{&quot;video_album_item&quot;:{&quot;tag_list&quot;:[],&quot;wxfriends_team_mate_list&quot;:[],&quot;mix_tag_info&quot;:{&quot;wonderful_tag_list&quot;:[],&quot;new_tag_list&quot;:[],&quot;battle_tag_list&quot;:[],&quot;video_tag_list&quot;:[]},&quot;feed_tag_list&quot;:[],&quot;team_mate_list&quot;:[],&quot;opponent_list&quot;:[],&quot;cluster_index_list&quot;:[]},&quot;relation_type&quot;:0},&quot;need_top&quot;:true,&quot;video_list&quot;:[],&quot;appid&quot;:&quot;wxd0ba2ae8ccfcda5e&quot;,&quot;can_share_to_chatroom&quot;:false,&quot;msg_pack_extend_list&quot;:[],&quot;topic_feed_list&quot;:[],&quot;feature_str&quot;:&quot;ii-O9VwSjbkaYdSA4yT2DQ&quot;,&quot;topic_extra_info&quot;:{&quot;custom_flag&quot;:0},&quot;service_entrance_list&quot;:[],&quot;user_list&quot;:[],&quot;group_out_id&quot;:&quot;wxd0ba2ae8ccfcda5e&quot;,&quot;not_can_recom_group&quot;:false,&quot;cover_pic_list&quot;:[],&quot;content_entrance_list&quot;:[]},&quot;type&quot;:7}]]></preload></extra_data><report><msg_subtype>116</msg_subtype><noticeid>144671164</noticeid><ext_data>{&quot;biz_subtype&quot;:2,&quot;content_id&quot;:&quot;876725157&quot;,&quot;friend_uin&quot;:0,&quot;interactive&quot;:8005,&quot;send_time&quot;:1737270285,&quot;stage&quot;:0,&quot;text&quot;:&quot;不同角色耍大剑效果&quot;}</ext_data><business_data>{&quot;biz_type&quot;:7,&quot;data&quot;:&quot;{\\\\&quot;notice_id\\\\&quot;:\\\\&quot;96198660\\\\&quot;,\\\\&quot;topic_id\\\\&quot;:876725157,\\\\&quot;tab_id\\\\&quot;:3,\\\\&quot;secondary_id\\\\&quot;:407,\\\\&quot;sub_tab_id\\\\&quot;:0}&quot;,&quot;sys_report&quot;:{&quot;msg_type&quot;:116,&quot;interactive&quot;:8005,&quot;biz_subtype&quot;:2}}</business_data></report><jump_info></jump_info><exposure_strategy><history_message_list><msg_id>mmgamemessagedistribution_recall_wx95a3a4d7c627e07d_856044691_1737171235</msg_id><click_score>1.965397</click_score></history_message_list><history_message_list><msg_id>mmgamemessagedistribution_recall_wxa27ca98aa5ed1a87_875598205_1737171235</msg_id><click_score>1.788178</click_score></history_message_list><history_message_list><msg_id>unifiedpush_content_119945_138674</msg_id><click_score>1.322948</click_score></history_message_list><history_message_list><msg_id>unifiedpush_content_127325_1734883199.6_144638011_9007199254868317</msg_id><click_score>1.063285</click_score></history_message_list><history_message_list><msg_id>unifiedpush_content_137980_1736697599.100108_144669230_9007199254878972</msg_id><click_score>0.000000</click_score></history_message_list><history_message_list><msg_id>unifiedpush_content_127410_1734883199.6_144638284_9007199254868402</msg_id><click_score>0.932755</click_score></history_message_list><expire_time_strategy><enabled></enabled></expire_time_strategy><battery_strategy><enabled></enabled></battery_strategy><wifi_strategy><enabled></enabled></wifi_strategy><exposure_count>12</exposure_count><channel>2</channel><click_score>0.487533</click_score><ignore_exceed_exposure>1</ignore_exceed_exposure></exposure_strategy></gamecenter><control_command><message_setting><hide_conf start_time=\\\"\\\" end_time=\\\"\\\" msg_type=\\\"\\\"></hide_conf><del_conf><msg_id>unifiedpush_content_137980_1736697599.100108_144669230_9007199254878972</msg_id><push_revert_id></push_revert_id></del_conf></message_setting></control_command></sysmsg>\",\"msgtype\":10002,\"msgSerId\":\"6069005417950909466\",\"msgSeq\":812058989,\"at\":\"\",\"at_list\":\"<msgsource>\\n\\t<tmp_node>\\n\\t\\t<publisher-id></publisher-id>\\n\\t</tmp_node>\\n</msgsource>\\n\"}",
 *         "nick_name": ""
 *     }
 * }
 * </pre>
 */
@Slf4j
@Component
public class _5001Handler extends RobotMessageHandler {

    @Override
    public String name() {
        return "机器人私聊信息回调";
    }

    @Override
    public boolean supports(int type) {
        return type == 5001;
    }

    @Override
    protected ReceiverType getReceiverType() {
        return ReceiverType.CONTACT;
    }

    @Override
    protected String getReceiverId(JSONObject data) {
        return data.getString("vcFromWxUserWxId");
    }

    @Override
    protected String getReceiverSerialNo(JSONObject data) {
        return data.getString("vcFromWxUserSerialNo");
    }
}
